dynamic colspan in angular

95

dynamic colspan in angular -

<tr *ngFor="let item of items">
  <th [attr.colspan]="item.colspan">{{ item.name }}</th>
</tr>

Comments

Submit
0 Comments